/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.netmaster.coitaonline.service.impl;

import com.netmaster.coitaonline.dao.ServidorDao;
import com.netmaster.coitaonline.pojo.Servidor;
import com.netmaster.coitaonline.service.ServidorService;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *
 * @author Abelgtzz
 */
@Service
public class ServidorServiceImpl implements ServidorService{
    
    @Autowired
    private ServidorDao servidorDao;

    @Override
    public List<Servidor> allServidor() {
        return servidorDao.getListServidor();
    }

    public void setServidorDao(ServidorDao servidorDao) {
        this.servidorDao = servidorDao;
    }

    
    
}
